<?php
class BusinessLogModel extends model
{
	static $_instance = null;

	static function getInstance ()
	{
		if (is_null(self::$_instance)) {
			self::$_instance = new self();
		}
		return self::$_instance;
	}
	
	/**
	 * 增加日志
	 * Enter description here ...
	 */
	function setBusinessLog($p){
		return $this->sql("replace into crm_business_log(`business_id`,`type`,`operator`,`content`,`receive`,`receive_flg`,`sms_flg`,`msg_flg`)values('[business_id]','[type]','[operator]','[content]','[receive]','[receive_flg]','[sms_flg]','[msg_flg]')",$p)->i();
	}
}